package events
{
	import flash.events.Event;

	public class ItemEvent extends Event
	{
		public static const ADD_ITEM:String='addItem';
		public static const ADD_ITEMS:String='addItems';
		public static const REMOVE_ITEM:String='removeItem';
		public static const REMOVE_ITEMS:String='removeItems';
		public static const REPLACE_ITEMS:String='updateItem';

		public function ItemEvent(type:String, item:*=null)
		{
			this.item=item;
			super(type);
		}

		public var item:*;

		override public function clone():Event
		{
			return new ItemEvent(type, item);
		}
	}
}
